package projectg06.grafosmm;

import java.util.Comparator;

public class NodoCompMatula implements Comparator <Nodo>{

	@Override
	public int compare(Nodo o1, Nodo o2) {
		if(o1.grado<o2.grado)
			return -1;
		if(o1.grado>o2.grado)
			return 1;
		return 0;
	}

}
